From 18aff6bcba558b3f346f9adb90c89543ff254454 Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Thu, 8 Jan 2026 22:38:56 +0100 Subject: [PATCH] Use the packaged version of MathJax. Forwarded: no Avoid a privacy breach by using the packaged version of libjs-mathjax in the generated sphinx docs. Gbp-Pq: Name sphinx_mathjax_location.patch --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 0a56be81d..2d33fd94f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -40,7 +40,7 @@ edit_on_github_project = 'mamedev/mame' edit_on_github_branch = 'master/docs/source' # Math -mathjax_path = "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" +mathjax_path = "file:///usr/share/javascript/mathjax/config/TeX-AMS-MML_HTMLorMML.js" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] -- 2.30.2